package com.lck.blogmanager.Enum;

/**
 * @author wyq
 * @version v1.0.0
 * @explain
 * @date 2024/3/18 9:05
 */
public class CommonConstant {

    //token名
    public final static String BLOG_HEADER = "blog-token";

    //签名加密key
    public final static String TOKEN_SIGN_KEY = "blog";

    //密码加密盐
    public final static String PASSWORD_SALT = "blog@123456";

    //缓存统一前缀
    public final static String TOKEN_PREFIX = "token:";

    //token有效期 暂定12小时
    public final static Integer TOKEN_VALID_SECONDS = 60*60*12;

    //替代userId
    public final static Integer USER_ID = 1;

    //默认密码
    public final static String NORMAL_PASSWORD = "123456";

    //windows路径
    public final static String WINDOWS_PATH = "C:/Users/86133/Desktop/";
    //public final static String WINDOWS_PATH = "/opt/blogimg/";

    //文件路径WINDOWS
    public final static String WINDOWS_FILE_PATH = "C:/Users/86133/Desktop/file/";
    //public final static String WINDOWS_FILE_PATH = "../opt/blogfile/";


}
